<%= javascript_include_tag 'pagination' %>

<div class="portlet">
  <div class="portlet-header">
    <h1><%=t(@wish_list.name)%></h1>
  </div>

  <div class="portlet-content">
    <table style="border:0px">
      <tr>
        <th> <%= label_tag t('.lbl_material_search') %> </th>
        <th align="left"> <%= text_field_tag :search_material_title, session[:search_material_title], :size => 30 %> </th>
      </tr>
    </table>

    <%= observe_field :search_material_title,
      :frequency => 0.5,
      :url => {:controller => :my_wish_lists, :action => :observer_materials_search},
      :update => "wish_list_materials",
      :with => "'search_material_title=' + escape($('search_material_title').value)"
      %>


    <div id="wish_list_materials">
      <%= render :partial=>'wish_list_materials' , :layout=>false %>
    </div>
  </div>

  <div class="portlet-footer">
  </div>
</div>